﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace TravelingWebApp.Models
{
    public class Scenary
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string Id { get; set; }

        public string City { get; set; }
        public string Spot { get; set; }
        public string Name { get; set; }

        [StringLength(2000)]
        public string Briefing { get; set; }

        [DataType(DataType.Currency)]
        public double Money { get; set; }

        //[NotMapped]
        //public IFormFile PhotoAvatar { get; set; }
        //public string ImageName { get; set; }
        //public byte[] PhotoFile { get; set; }
        //public string ImageMimeType { get; set; }

    }
}
